import { requestType } from '~/config/enum.config'

const SERVICE = 'domain-service'

const CONTROLLER = 'caseQueueController'
export default {
    /**
     * 新增队列
     */
    add: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'add',
      type: requestType.Post
    },
    /**
     * 经办设置
     */
    handlerSetting: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'handlerSetting',
      type: requestType.Post
    },
    /**
     * 根据队列id查看队列下的经办人
     */
    viewHandlerMessage: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'viewHandlerMessage',
      type: requestType.Get
    },
    /**
     * 修改队列信息
     */
    update: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'update',
      type: requestType.Post
    },
    /**
     * 停用队列
     */
    updateStatus: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'updateStatus',
      type: requestType.Get
    },
    /**
     * 案件队列管理-查询所有日期策略
     */
    queryAllDateStrategy: {
        service: SERVICE,
        controller: CONTROLLER,
        action: 'queryAllDateStrategy',
        type: requestType.Get
    },
    /**
     * 案件队列管理-查询所有日期策略(启用和停用)
     */
    queryAllDateStrategy1: {
        service: SERVICE,
        controller: CONTROLLER,
        action: 'queryAllDateStrategy1',
        type: requestType.Get
    },
    /**
     * 案件队列管理-分页查询队列信息
     */
    getAllCaseQueue:{
      service: SERVICE,
      controller: CONTROLLER,
      action: 'getAllCaseQueue',
      type: requestType.Get
    },
    /**
     * 案件队列管理-根据id查看详情
     */
    view:{
      service: SERVICE,
      controller: CONTROLLER,
      action: 'view',
      type: requestType.Get
    },
    /**
     * 案件队列管理-根据id查询队列案件详情
     */
    getAllQueueCases:{
      service: SERVICE,
      controller: CONTROLLER,
      action: 'getAllQueueCases',
      type: requestType.Get
    },
    /**
     * 案件队列管理-根据id查询队列修改信息
     */
    getAllQueueModifyLogs:{
      service: SERVICE,
      controller: CONTROLLER,
      action: 'getAllQueueModifyLogs',
      type: requestType.Get
    },
    /**
     * 案件队列管理-根据id查询轻渠道详情
     */
    getQueueBusinessMessage:{
      service: SERVICE,
      controller: CONTROLLER,
      action: 'getBusinessMessage',
      type: requestType.Get
    },
    /**
     * 待分配案件-下一步
     */
    distributeCaseNext: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'queueTransferCaseNext',
      type: requestType.Post,
    },
    /**
     * 待分配案件-确定
     */
    distributeCaseConfirm: {
      service: SERVICE,
      controller: CONTROLLER,
      action: 'queueTransferCaseConfirm',
      type: requestType.Post,
    },
}